home *** CD-ROM | disk | FTP | other *** search
/ Sunday Savers: Singing Fun! / Sunday Savers: Singing Fun!.iso / mac / Xtras / Buddy API 3.7 / Buddy API Docs.swf / texts / 1300.txt < prev    next >
Encoding:
Text File  |  2004-08-31  |  2.6 KB  |  99 lines

  1. 62
  2. --- RECORDSEPARATOR ---
  3.  
  4. --- RECORDSEPARATOR ---
  5. RunProgram
  6. --- RECORDSEPARATOR ---
  7.  
  8. --- RECORDSEPARATOR ---
  9. (continued)
  10. --- RECORDSEPARATOR ---
  11.  
  12. --- RECORDSEPARATOR ---
  13. Notes:
  14. --- RECORDSEPARATOR ---
  15.  
  16. --- RECORDSEPARATOR ---
  17. On
  18. --- RECORDSEPARATOR ---
  19.  Windows
  20. --- RECORDSEPARATOR ---
  21. , where possible, the complete path to the program should be 
  22. --- RECORDSEPARATOR ---
  23. specified. If a path is not provided, then Windows searches for the file in the 
  24. --- RECORDSEPARATOR ---
  25. following order: 
  26. --- RECORDSEPARATOR ---
  27. --- RECORDSEPARATOR ---
  28. The current directory. 
  29. --- RECORDSEPARATOR ---
  30. --- RECORDSEPARATOR ---
  31. The Windows directory. 
  32. --- RECORDSEPARATOR ---
  33. --- RECORDSEPARATOR ---
  34. The Windows system directory. 
  35. --- RECORDSEPARATOR ---
  36. --- RECORDSEPARATOR ---
  37. The directory containing the executable file for the current task. 
  38. --- RECORDSEPARATOR ---
  39. --- RECORDSEPARATOR ---
  40. The directories listed in the PATH environment variable. 
  41. --- RECORDSEPARATOR ---
  42. --- RECORDSEPARATOR ---
  43. The directories mapped in a network. 
  44. --- RECORDSEPARATOR ---
  45. On
  46. --- RECORDSEPARATOR ---
  47.  Windows
  48. --- RECORDSEPARATOR ---
  49. , you are not limited to supplying just an executable file name; you can 
  50. --- RECORDSEPARATOR ---
  51. add any other command line parameters that the executable supports. For 
  52. --- RECORDSEPARATOR ---
  53. example, to load the Adobe Acrobat Reader with mydoc.pdf, use the following call: 
  54. --- RECORDSEPARATOR ---
  55. baRunProgram( "acroread.exe mydoc.pdf", "maximised", false ) 
  56. --- RECORDSEPARATOR ---
  57. To print an Acrobat file, you can use 
  58. --- RECORDSEPARATOR ---
  59. baRunProgram( "c:\acrobat\acroread.exe /p mydoc.pdf", "Hidden", true ) 
  60. --- RECORDSEPARATOR ---
  61. On
  62. --- RECORDSEPARATOR ---
  63.  Macintosh
  64. --- RECORDSEPARATOR ---
  65. , you must supply the full path to the file. Command line arguments 
  66. --- RECORDSEPARATOR ---
  67. are not supported. 
  68. --- RECORDSEPARATOR ---
  69. If used with the Wait option, this function will not return control to 
  70. --- RECORDSEPARATOR ---
  71. Authorware/Director until the jumped to program has quit. If your user switches 
  72. --- RECORDSEPARATOR ---
  73. back to the Authorware program, it will appear to have frozen. You may choose to 
  74. --- RECORDSEPARATOR ---
  75. display an on-screen message to inform your user of this. You can also use the 
  76. --- RECORDSEPARATOR ---
  77. WaitTillActive function to pause execution until the Authorware/Director window 
  78. --- RECORDSEPARATOR ---
  79. becomes active again.
  80. --- RECORDSEPARATOR ---
  81.  
  82. --- RECORDSEPARATOR ---
  83. See also:
  84. --- RECORDSEPARATOR ---
  85.  
  86. --- RECORDSEPARATOR ---
  87. baWaitTillActive 
  88. --- RECORDSEPARATOR ---
  89. baWaitForWindow 
  90. --- RECORDSEPARATOR ---
  91. baNextActiveWindow 
  92. --- RECORDSEPARATOR ---
  93. baOpenFile